﻿<%@ Page Title="" Language="C#" MasterPageFile="Site.Master" AutoEventWireup="true" CodeBehind="RetrieveGuestCreditCardDetails.aspx.cs" Inherits="DelonixRegiaHMSys.UI.WebForms.RetrieveGuestCreditCardDetails" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
     <div id="wrapper">
        <div id="content">
            <h2>Guest Credit Card Detail</h2>
            <a href="GuestCreditCardDetail.aspx">Add Credit Card Detail</a>
           
            <p>
                <asp:GridView ID="GridViewGCCD" runat="server" AutoGenerateColumns="False">
                    <Columns>
                        <asp:BoundField DataField="guestID" HeaderText="Guest ID" />
                        <asp:BoundField DataField="creditCardNum" HeaderText="Credit Card Number" />
                        <asp:BoundField DataField="cardHolderName" HeaderText="CardHolder Name" />
                        <asp:BoundField DataField="cardType" HeaderText="Card Type" />
                        <asp:BoundField DataField="cardExpirationDate" HeaderText="Card Expiration Date" />
                        <asp:TemplateField HeaderText="Remove">
                             <ItemTemplate>
                            <asp:LinkButton ID="DeleteButton" runat="server" OnClick="DeleteButton_Click" CommandArgument='<%# Eval("creditCardNum") %>' Text="Delete" />
                        </ItemTemplate>
                        </asp:TemplateField>
                       
                    </Columns>

                </asp:GridView>
            </p>
            </div>
         <div id="left">
              <h3>Welcome ___!</h3>
             <p class="auto-style7">This is a List of Credit Card Details</p>
             <p>&nbsp;</p>
            <p>&nbsp;</p>
            <p>&nbsp;</p>
            <p>&nbsp;</p>
             <p>

                 <asp:Button ID="MainpageButton" runat="server" Height="35px" Text="Mainpage" Width="89px" />

                 <asp:ConfirmButtonExtender ID="MainpageButton_ConfirmButtonExtender" runat="server" ConfirmText="Move on to the next page?" Enabled="True" TargetControlID="MainpageButton">
                 </asp:ConfirmButtonExtender>

             </p>
             </div>
         </div>
</asp:Content>
